#include<bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
const int N=2e5+10;
#define INF 0x3f3f3f3f;
typedef long long int ll;
#define close(); std::ios::sync_with_stdio(false);cin.tie(0),cout.tie(0);
//----------------------------------------------------------------------------//

void solve()
{
	ll la,lb,lc;
	ll Va,Vb,Vc;
	cin>>Va>>Vb>>Vc;

	if((Va+Vb+Vc)%2!=0)
	{
		cout<<"No"<<'\n';
		return;
	}
	cout<<"Yes"<<'\n';
	
	la=(Va+Vb+Vc)/2-Va;
	lc=Vb-la;
	lb=Va-lc;

	
	ll arr[]={la,lb,lc};
	sort(arr,arr+3);
	if(arr[0]+arr[1]<=arr[2]||arr[2]-arr[0]>=arr[1])
	{
		cout<<"No"<<'\n';
		return;
	}
	
	cout<<la<<" "<<lb<<" "<<lc<<'\n';



	
}

int main()
{
	close();
	int T; cin>>T;
	while (T--) solve();
	return 0;
}